package com.roadjava.tutor.bean.entity;

import com.roadjava.tutor.bean.dto.BaseDTO;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 预约生成的订单信息
 * @author zhaodaowen
 * @see <a href="http://www.roadjava.com">乐之者java</a>
 */
@Data
public class OrderInfo{
    /**
     * 主键
     */
    private Long id;
    /**
     * 发起人id
     */
    private Long launchId;
    /**
     * 目标方id
     */
    private Long targetId;
    /**
     * 订单状态
     * @see com.roadjava.tutor.bean.enums.OrderStatusEnum
     */
    private String status;
    /**
     * 学生对老师的评价
     */
    private String evaluationByStudent;
    /**
     * 老师对学生的评价
     */
    private String evaluationByTeacher;
    /**
     * 预约时间
     */
    private LocalDateTime preAppointTime;
    /**
     * 需求id,教师预约学生时必填
     */
    private Long demandId;
    /**
     * 求职id,学生预约教师时必填
     */
    private Long jobId;
}
